package mysql

import "errors"

//定义数据库业务状态
var (
	ErrorUserExist       = errors.New("用户已存在")
	ErrorUserNotExist    = errors.New("用户不存在")
	ErrorInvalidPassword = errors.New("用户名或密码错误")
	ErrorInvalidID       = errors.New("无效的ID")

	ErrorQueryFailed     = errors.New("查询数据失败")
	ErrorQueryZeroRecord = errors.New("查询不到数据")
	ErrorInsertFailed    = errors.New("插入数据失败")
	ErrorUpdateFailed    = errors.New("更新数据失败")
	ErrorDeleteFailed    = errors.New("删除数据失败")
)
